<?php
/**
 * Created by PhpStorm.
 * User: Artem
 * Date: 15.12.2014
 * Time: 19:32
 */
namespace Entity;

class Category {

    private $id;
    private $title;
    private $summary;
    private $parentId;

    /**
     * @return string
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @param string $id
     */
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * @return string
     */
    public function getTitle()
    {
        return $this->title;
    }

    /**
     * @param string $title
     */
    public function setTitle($title)
    {
        $this->title = $title;
    }

    /**
     * @return string
     */
    public function getSummary()
    {
        return $this->summary;
    }

    /**
     * @param string $summary
     */
    public function setSummary($summary)
    {
        $this->summary = $summary;
    }

    /**
     * @return string
     */
    public function getParentId()
    {
        return $this->parentId;
    }

    /**
     * @param string $parent_id
     */
    public function setParentId($parentId)
    {
        $this->parentId = $parentId;
    }
}